package ch.ethz.group3.myalbum.shared;

import java.io.Serializable;

import ch.ethz.group3.myalbum.client.ImageTileRecord;

public class ImageModel implements Serializable {

	private String id;
	private String thumbnail;
	private String photoUrl;
	private String name;
	private GeoLocationModel geoLocation;
	private int commentCount;

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public GeoLocationModel getGeoLocation() {
		return geoLocation;
	}

	public void setGeoLocation(GeoLocationModel geoLocation) {
		this.geoLocation = geoLocation;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int comments) {
		this.commentCount = comments;
	}

	public ImageTileRecord getRecord() {
		return new ImageTileRecord(id, thumbnail, photoUrl, name, geoLocation,
				commentCount);
	}

}
